<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #p1{
            color: red
        }
        .c1{
            color: green
        }
        a,#p1,.c1{
            background-color:pink ;
        }

        input[type='text']{color: aqua}
        input[type='password']{background-color: aquamarine}

        *{border:1px solid red}
    </style>
</head>
<body>
账号:<input type="text">
密码:<input type="password">
<a href="http://www.tmooc.cn">超链接</a>
<p id="p1">苹果</p>
<p id="p2">香蕉</p>
<P class="c1">橘子</P>
<div>电视</div>
<div>冰箱</div>
<div class="c1">洗衣机</div>
</body>
</html>